package com.sj.proxy;

/**
 * 记录Tank move方法的日志代理
 */
public class TankLogProxy implements IMoveable {
    private IMoveable t;

    public TankLogProxy(IMoveable t){
        super();
        this.t=t;
    }

    public void move(){
        System.out.println("Tank Start...");
        t.move();
        System.out.println("Tank Stop.");
    }
}
